dotConnect for SQLite Documentation
Devart.Data.SQLite Namespace / SQLiteBlob Class / SQLiteBlob Constructor / SQLiteBlob Constructor(Byte[])
The byte array to be stored in the Value property.
Example

In This Topic
    SQLiteBlob Constructor(Byte[])
    In This Topic
    Initializes a new instance of the SQLiteBlob class, setting the Value property to the provided array of bytes.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal value() As Byte _
    )
    public SQLiteBlob( 
       byte[] value
    )

    Parameters

    value
    The byte array to be stored in the Value property.
    Example
    byte[] byteArray = { 1, 2, 3, 4, 5};
    SQLiteBlob blob1 = new SQLiteBlob(byteArray);
    Dim byteArray As Byte() = New Byte() {1, 2, 3, 4, 5}
    Dim blob1 As New SQLiteBlob(byteArray)
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also